package com.zhku.shoppingspringboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhku.shoppingspringboot.pojo.dto.AddAddressDTO;
import com.zhku.shoppingspringboot.pojo.entity.Address;

import java.util.List;

/**
 * @author hwy
 * @date 2025-01-02 23:21
 */
public interface IAddressService extends IService<Address> {
    Long addAddress(AddAddressDTO addAddressDTO);

    List<Address> getAddress();

    Long modifyAddress(Address address);


    Long deleteAddress(Long id);

}
